<?php
$db_host = 'localhost';
$db_user = 'root';
$db_passwd = 'lihuiyingaccount';
$db_name = 'test3';

$conn = mysql_connect($db_host, $db_user, $db_passwd)
    or die ('Database connecting failed!');

mysql_query("set names 'utf8'");

mysql_select_db($db_name, $conn)
    or die ('Database selecting failed!');
?>
